package com.springboot.mybatis.mapper;

import com.springboot.mybatis.model.Article;
import org.apache.ibatis.annotations.Param;

public interface ArticleDao {

    Article findOne(@Param("id") int id);

    Article getById(int id);

    void update(Article article);
}